
*Load data set of analysis area price regression coefficient estimates combined with AMA insurer competition report data (largest and second largest ins by prod and CBSA)
import excel "$data\WTP-IHHI Robustness.xlsx", sheet("inputs") firstrow

local depvar coef_wtp_pp
	qui reg `depvar' ihhi ppo, vce(robust)
	eststo
	qui reg `depvar' ihhi ppo if BCBS_gt_50 != 1, vce(robust) /*exclude BCBS gt than 50%*/
	eststo
	qui reg `depvar' ihhi ppo if BCBS_gt_33!= 1, vce(robust) /*exclude BCBS gt than 33%*/
	eststo
	qui reg `depvar' ihhi ppo if HCCI_rank != 0, vce(robust) /*HCCI is first or second largest%*/
	eststo
	qui reg `depvar' ihhi ppo if HCCI_rank == 1, vce(robust) /*HCCI is largest*/
	eststo

esttab, se ar2 
eststo clear 

local depvar coef_cons
	qui reg `depvar' ihhi ppo, vce(robust)
	eststo
	qui reg `depvar' ihhi ppo if BCBS_gt_50 != 1, vce(robust) /*exclude BCBS gt than 50%*/
	eststo
	qui reg `depvar' ihhi ppo if BCBS_gt_33 != 1, vce(robust) /*exclude BCBS gt than 33%*/
	eststo
	qui reg `depvar' ihhi ppo if HCCI_rank != 0, vce(robust) /*HCCI is first or second largest%*/
	eststo
	qui reg `depvar' ihhi ppo if HCCI_rank == 1, vce(robust) /*HCCI is largest*/
	eststo

esttab, se ar2 
eststo clear 


exit
